package com.itcast.service;

import com.itcast.entity.PageResult;
import com.itcast.entity.QueryPageBean;
import com.itcast.entity.Result;
import com.itcast.pojo.User;

/**
 * @className: UserService
 * @description: TODO 类描述
 * @author: Jng
 * @date: 2022/4/17
 **/
public interface UserService {
    User findByUsername(String username);

    Result registerUser(User user);

    PageResult findPage(QueryPageBean queryPageBean);

    boolean deleteById(Integer id);
}
